<?php
namespace Admin\Controller;

class IndexController extends AbstractController{
	
    public function index($name = 'thinkphp'){
        $Data = M('department');
        $result = $Data->find(1);
        $user = session('USER');
        $this->assign('user',$user);
        $this->assign('name',$result['name']);
        $this->display();
    }
    
    public function projectWin(){
    	$this->assign('id',I('id'));
    	$this->display();
    }

   	
}